<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/8/16
  Time: 14:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>-流程业务时间设置-</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="../layui/css/layui.css" media="all">
    <script src="../layui/layui.js"></script>

    <style>
        body{background-color: #eeeeee;}
        .layui-row{background-color: white;margin: 10px;padding:10px;}
        select{border: 0.5px solid #eeeeee;}
    </style>
</head>
<body>

<div class="layui-layout layui-layout-admin">


        <%--面包屑--%>
        <div class="layui-row">
            <div class="layui-col-lg12">
                <span class="layui-breadcrumb">
                  <a href="http://localhost/admin/admin.jsp">首页</a>
                    <a class="" href="javascript:;">系统设置</a>
                    <a href="http://localhost/admin/business.jsp">流程业务时间设置</a>
                </span>
            </div>
        </div>


        <%--数据表格--%>
        <div class="layui-row">
            <table id="business-table" lay-filter="business-table"></table>
            <div class="layui-fluid">
                <div class="layui-row layui-col-space15">

                </div>
            </div>
        </div>


</div>
</body>
<%--头部工具栏事件--%>
<%--<script type="text/html" id="toolbarDemo">--%>
<%--    <div class="layui-btn-container">--%>
<%--        <button class="layui-btn layui-btn-sm" lay-event="edit">修改业务时间</button>--%>
<%--    </div>--%>
<%--</script>--%>
<%--状态栏样式--%>
<script type="text/html" id="stageTpl">
    {{#  if(d.stage === '1'){ }}
    <span>{{ '任务书' }}</span>
    {{#  } else if(d.stage === '2'){ }}
    <span>{{ '开题报告' }}</span>
    {{#  } else if(d.stage === '3'){ }}
    <span>{{ '中期检查' }}</span>
    {{#  } else if(d.stage === '4'){ }}
    <span>{{ '论文初稿' }}</span>
    {{#  } else if(d.stage === '5'){ }}
    <span>{{ '论文定稿' }}</span>
    {{# }  else if(d.stage === '6'){ }}
    <span>{{ '论文终稿' }}</span>
    {{# } }}
</script>
<%--表内工具栏--%>
<script type="text/html" id="businessBtn">
    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
</script>
<%--弹出层--修改--%>
<div class="layui-row" id="business-edit-box" style="margin: 20px;display: none">
    <form class="layui-form" action="" lay-filter="component-form-group">
        <div class="layui-form-item">
            <div class="layui-input-block">
                <label class="layui-form-label">阶段编号：</label>
                <div class="layui-input-inline">
                    <span id="stage"></span>
                    <input id="stage1" name="stage" type="hidden">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <label class="layui-form-label">开始时间：</label>
                <div class="layui-input-inline">
                    <input type="text" name="startTime" id="startTime" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <label class="layui-form-label">结束时间：</label>
                <div class="layui-input-inline">
                    <input type="text" name="endTime" id="endTime" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-col-lg1 layui-col-lg-offset4">
            <button class="layui-btn" name="business-edit-btn1" lay-submit lay-filter="edit">保存</button>
        </div>
        <div class="layui-col-lg1 layui-col-lg-offset1">
            <button class="layui-btn">取消</button>
        </div>
    </form>
</div>
<script src="js/business.js"></script>
</html>
